
<%@page import="quik.group.GroupProc"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 
<%
	String savePath = getServletContext().getRealPath("/data/groupImage/"+session.getAttribute("SESSION_MEMBER_GROUPSEQ")+"/");
	GroupProc group = new GroupProc();
	String result = group.imgUpload(request,savePath);
	System.out.println(result);
	if(result.equals("SUCCESS")){
		response.sendRedirect("../../?content=groupInfo&menu=imgupload&changeresult=1");
	}else if(result.equals("FAIL")){
		response.sendRedirect("../../?content=groupInfo&menu=imgupload&changeresult=0");
	}
%>